package link.jfire.jnet.client;

import link.jfire.jnet.common.InternalResult;

public class ClientInternalResult extends InternalResult
{
    private AioClient aioClient;
    
    public void init(AioClient aioClient, Object data, int index)
    {
        this.aioClient = aioClient;
        this.data = data;
        this.index = index;
    }
    
    public AioClient getClient()
    {
        return aioClient;
    }
    
    public void setClient(AioClient aioClient)
    {
        this.aioClient = aioClient;
    }
    
    public void clear()
    {
        aioClient = null;
        data = null;
        index = 0;
    }
}
